import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import './assets/css/global.less'
import './assets/font/iconfont.css'
import SocketService from './utils/socket_service'
SocketService.Instance.connect()
axios.defaults.baseURL = 'http://127.0.0.1:3000/api/'
Vue.prototype.http = axios

// 将全局的echarts对象挂载到Vue的原型对象上
Vue.prototype.echarts = window.echarts

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
